package com.atguigu.spzx.cart.service;

import com.atguigu.spzx.model.entity.product.CartInfo;

import java.util.List;

public interface CartService {
    void addToCart(Long skuId, Integer skuNum);

    List<CartInfo> getCartList();

    void deleteCartBySkuId(Long skuId);

    void checkCart(Long skuId, Integer isChecked);

    List<CartInfo> getAllChecked();

    void deleteCheckedCart();

}
